﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;
using LingShi.DAL;

namespace LingShi.Admin
{
    public partial class AdminBasePage : System.Web.UI.Page
    {
        private UserInfo _userInfo;
        public UserInfo UserInfo
        {
            get
            {
                return _userInfo;
            }
        }
        protected override void OnLoad(EventArgs e)
        {
            //if (Session["UserInfo"] == null)
            //{
            //    Response.Redirect("../login.aspx");
            //}
            //else
            //{
            //    _userInfo = (UserInfo)Session["UserInfo"];
            //}
            base.OnLoad(e);
        }
    }
}